/**
 * 
 */
package org.cuatrovientos.arraysexercise8;

import java.util.Random;
import java.util.Scanner;

/**
 * @author daniel_ancin
 *
 */
public class ArraysExercise8 {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
		int numbers[][] = new int [5][10];
		Random random = new Random();
		
		
		for (int i=0; i<numbers.length;i++) {
			for (int j=0; j<numbers[i].length;j++) {
			numbers [i][j] = random.nextInt(30);

			}
		}
		
		bucle:
		for (int i=0; i<numbers.length;i++) {
			for (int j=0; j<numbers[i].length;j++) {
				if (numbers [i][j] == 15) {			
					System.out.print(i + " " + j);
				break bucle;
			}
		}

		}
	}
}


